package com.lcf.order.client;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * Created by lancf on 2019/7/12.
 */
public interface StreamClient {
    //String MSG = "myStreamMessage";

//    @Input("myStreamMessage")
//    SubscribableChannel input();

    @Output("myStreamMessage")
    MessageChannel output();
}
